package com.zonda.myjacksonstudy.model;


import com.alibaba.fastjson.annotation.JSONField;

public class OpenActionModel {

  private String id;

  private String type;

  private ArticleModel article;

  @JSONField(name = "web")
  private WebModel web;

  @JSONField(name = "test_web")
  public WebModel testWeb;

  @JSONField(name = "only_set")
  private String onlySet;

  @JSONField(name = "only_get")
  private String onlyGet;

  public String onlyOfPublic;

  protected String onlyOfProtected;

  String onlyOfPackage;

  private String onlyOfPrivate;

  public String getOnlyGet() {
    return onlyGet;
  }

  public void setOnlySet(String onlySet) {
    this.onlySet = onlySet;
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public ArticleModel getArticle() {
    return article;
  }

  public void setArticle(ArticleModel article) {
    this.article = article;
  }

  @Override
  public String toString() {
    return "OpenActionModel{" +
        "id='" + id + '\'' +
        ", type='" + type + '\'' +
        ", article=" + article +
        ", web=" + web +
        ", testWeb=" + testWeb +
        ", onlySet='" + onlySet + '\'' +
        ", onlyGet='" + onlyGet + '\'' +
        ", onlyOfPublic='" + onlyOfPublic + '\'' +
        ", onlyOfProtected='" + onlyOfProtected + '\'' +
        ", onlyOfPackage='" + onlyOfPackage + '\'' +
        ", onlyOfPrivate='" + onlyOfPrivate + '\'' +
        '}';
  }
}
